
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="row content" style="padding: 0px;">
        <div class="panel-group" id="accordion">
            <div class="panel panel-success">
                <div class="panel-heading">
                    <h4 class="panel-title">
                        <a data-toggle="collapse"
                           href="#collapseOne">
                            {:__("基本信息")}
                        </a>
                    </h4>
                </div>
                <div id="collapseOne" class="panel-collapse collapse in">
                    <div class="panel-body">
                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('客户名称')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-name" data-rule="required" type="text" class="form-control" name="row[name]" value=""  />
                            </div>
                        </div>
                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-telephone" class="control-label col-xs-12 col-sm-2">{:__('联系电话')}:1</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-telephone" type="tel"  class="form-control" name="row[telephone]" value=""  />
                            </div>
                        </div>

                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-mobile" class="control-label col-xs-12 col-sm-2">{:__('联系手机')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-mobile" type="number"  class="form-control" name="row[mobile]" value=""  />
                            </div>
                        </div>

                        <div class="form-group col-md-6 col-xs-12">
                            <label class="control-label col-xs-12 col-sm-2">{:__('客户级别')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                {:build_select('row[level]', $levelList,3, ['class'=>'form-control selectpicker', 'data-rule'=>'required'])}
                            </div>
                        </div>
                        <div class="form-group col-md-6 col-xs-12">
                            <label class="control-label col-xs-12 col-sm-2">{:__('客户行业')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                {:build_select('row[industry]', $industryList, 9, ['class'=>'form-control selectpicker', 'data-rule'=>'required'])}
                            </div>
                        </div>
<!--                        <div class="form-group col-md-6 col-xs-12">-->
<!--                            <label class="control-label col-xs-12 col-sm-2">{:__('客户来源')}:</label>-->
<!--                            <div class="col-xs-12 col-sm-8">-->
<!--                                {:build_select('row[source]', $sourceList, 0, ['class'=>'form-control selectpicker', 'data-rule'=>'required'])}-->
<!--                            </div>-->
<!--                        </div>-->
                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-tags" class="control-label col-xs-12 col-sm-2">{:__('客户来源')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-tags" data-rule="" class="form-control" placeholder="输入后空格确认" name="row[tags]" type="text" value="">
                            </div>
                        </div>

                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-address" class="control-label col-xs-12 col-sm-2">地址:</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area">
                                    <select class="province form-control" name="province" data-url="ajax/area"></select>
                                    <select class="city form-control" name="city" data-url="ajax/area"></select>
                                    <select class="area form-control" name="area" data-url="ajax/area"></select>
                                </div>
                            </div>
                            <small class="pull-left" style=" margin-left: -10px;line-height: 31px;">
                                <i class="fa fa-info-circle"></i> <a href="#" data-toggle="tooltip"  data-original-title="插件会用到fa_area表数据。您可以直接导入数据，或者后台安装“开发示例”插件">有问题?</a></small>
                        </div>

                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-detail_address" class="control-label col-xs-12 col-sm-2">详细地址:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-detail_address" type="text"  class="form-control" name="row[detail_address]" value=""  />
                            </div>
                        </div>
                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-next_time" class="control-label col-xs-12 col-sm-2">{:__('下次跟进时间')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-next_time"  value=""  class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[next_time]" type="text" >
                                <span class="text-gray">如不需要再跟进设置为空</span>
                            </div>
                        </div>
                        <div class="form-group col-md-6 col-xs-12">
                            <label for="c-remark" class="control-label col-xs-12 col-sm-2">{:__('商品备注')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <textarea id="c-remark" class="form-control" name="row[remark]"></textarea>
                            </div>
                        </div>

                    </div>
                </div>
            </div>


            <div class="panel panel-info">
                <div class="panel-heading">
                    <h4 class="panel-title">
                        <a data-toggle="collapse"
                           href="#collapseThree">
                            {:__('资料扩展')}
                        </a>
                    </h4>
                </div>
                <div id="collapseThree" class="panel-collapse collapse in">
                    <div class="panel-body">
                        <div id="extend"></div>

                    </div>
                </div>
            </div>


        </div>
    </div>







					    
	
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-4"></label>
        <div class="col-xs-12 col-sm-6">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>





